import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from "vuex-persistedstate"
Vue.use(Vuex)
export default new Vuex.Store({
  state: {
    // baseUrl: 'http://192.168.2.28:6060',
    baseUrl: '',
    userInfo: '',
    subLoading: false,
  },
  mutations: {

  },
  actions: {

  },
  modules: {},
  plugins: [createPersistedState({
    storage: window.sessionStorage
  })]
})